package cn.getech.data.metadata.model.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@ApiModel(description = "元数据返回列表")
@Data
public class CollectionTableInfoListRes implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Integer id;
    @ApiModelProperty(value = "表名称")
    private String tableName;
    @ApiModelProperty(value = "数据库")
    private String dbName;
    @ApiModelProperty(value = "录入方式 0 手动采集 1自动采集 2接口")
    private Integer taskType;
    @ApiModelProperty(value = "表类型 1 离线元数据 2实时元数据 3 外部元数据")
    private Integer tableType;
    @ApiModelProperty(value = "最近一次修改时间")
    private Date updateTime;
    @ApiModelProperty(value = "负责人")
    private String username;
    @ApiModelProperty(value = "所属系统")
    private String systemName;
    @ApiModelProperty(value = "所属模块")
    private String moduleName;
    @ApiModelProperty(value = "是否开启变更通知 0:关闭 1:开启")
    private Integer enableChangeNotify;
    @ApiModelProperty(value = "所属系统")
    private Integer ownSystem;
    @ApiModelProperty(value = "所属模块")
    private Integer ownModule;
    @ApiModelProperty(value = "数据源名称")
    private String sourceName;
    @ApiModelProperty(value = "数据源ip")
    private String sourceIp;

    private List<String> categoryIdsList;

    private List<String>  categoryNamesList;
}
